#if !defined(AFX_UNITEDAYS_H__8DB630B1_F0EE_11D3_93F2_004095817FB2__INCLUDED_)
#define AFX_UNITEDAYS_H__8DB630B1_F0EE_11D3_93F2_004095817FB2__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// UniteDays.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CUniteDays dialog
#include "picturebutton.h"

class CUniteDays : public CDialog
{
// Construction
public:
	CUniteDays(CDay& from, CDay& to, CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CUniteDays)
	enum { IDD = IDD_UNITE_DAYS };
	CListBox	m_lbTo;
	CListBox	m_lbFrom;
	CPictureButton	m_btnRemoveAll;
	CPictureButton	m_btnRemove;
	CPictureButton	m_btnAddAll;
	CPictureButton	m_btnAdd;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CUniteDays)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	int m_iFromNumber;
	int m_iToNumber;
	int m_iFromMonth;
	int m_iToMonth;

	CDay& m_from;
	CDay& m_to;

	// Generated message map functions
	//{{AFX_MSG(CUniteDays)
	virtual BOOL OnInitDialog();
	afx_msg void OnAdd();
	afx_msg void OnAddAll();
	afx_msg void OnRemove();
	afx_msg void OnRemoveAll();
	afx_msg void OnDblclkFrom();
	afx_msg void OnDblclkTo();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_UNITEDAYS_H__8DB630B1_F0EE_11D3_93F2_004095817FB2__INCLUDED_)
